GXX=g++
RM=rm -rf
BIN=main
INC=src
LIB=lib

# -lz -lm -ldl -lpthread
# CPPFLAG = -std=c++11 -lsqlite3 -lpthread -lm -ldl
CPPFLAG = -std=c++11 -lsqlite3 -lz -lm -ldl -lpthread

SRC = main.cpp \
		src/system.cpp \
		src/userManager.cpp \
		src/studentManager.cpp \
		src/mysqlite.cpp

all:
	${GXX} -o ${BIN} -I${INC} -Iinclude -L${LIB} ${SRC} ${CPPFLAG}

clean:
	${RM} ${BIN}

